<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/share/taglib.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="expires" content="0"/>
<title>${message }</title>
<link rel="stylesheet" rev="stylesheet" href="${base }/css/style.css" type="text/css" media="all" />
<style type="text/css">
<!--
.atten {
	font-size: 12px;
	font-weight: normal;
	color: #F00;
}
-->
</style>
<script type="text/javascript">
	function preView() {
		window.opener.selectImg('${target}');
		window.close();
	}
	
	function selectArtical() {
		window.opener.selectArtical();
		window.close();
	}
</script>
</head>

<body class="ContentBody">
	<div class="MainDiv" id="mainpage">
		<table width="99%" border="0" cellpadding="0" cellspacing="0" class="CContent">
			<tr>
				<th class="tablestyle_title">操作结果</th>
			</tr>
			<tr>
				<td class="CPanel">
					<table border="0" cellpadding="0" cellspacing="0" style="width:100%">
						<tr>
							<TD width="100%">
								<fieldset style="height:100%;">
									<legend>操作结果</legend>
									<table border="0" cellpadding="2" cellspacing="1" style="width:100%">
										<tr>
											<td nowrap align="center" width="13%" style="font-size: 12px;">
													${message }
											</td>
										</tr>
									</table>
									<br />
								</fieldset>
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td colspan="2" align="center" height="50px">
					<c:if test="${window == '0' || empty window }">
						<c:if test="${empty returnflag }">
							<c:if test="${empty urlAddress }">
								<input type="button" name="Submit" value="确定" class="button" onclick="javascript:window.parent.location.href='${base}/manage.action';" />
							</c:if>
							<c:if test="${!empty urlAddress }">
								<input type="button" name="Submit" value="确定" class="button" onclick="javascript:window.location.href='${base}${urlAddress }';" />
							</c:if>
						</c:if>
						<c:if test="${!empty returnflag }">
							<input type="button" name="Submit" value="返回" class="button" onclick="javascript:window.history.go(-1);" />
						</c:if>
					</c:if>
					<c:if test="${window == '1' }">
						<input type="button" name="Submit" value="确定" class="button" onclick="preView();" />
					</c:if>
					<c:if test="${window == '2' }">
						<input type="button" name="Submit" value="确定" class="button" onclick="selectArtical();" />
					</c:if>
				</td>
			</tr>
		</table>
	</div>
</body>
</html>
